package summative;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

public class SubtractListener implements ActionListener{

	VectorList vList;

	public SubtractListener(VectorList vectors)
	{
		this.vList = vectors;
	}

	public void setVectorList(VectorList list)
	{
		this.vList = list;
	}

	public void actionPerformed(ActionEvent e)
	{
		vList.subtractionVectors();
	}


}
